package com.wb.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wb.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("exam_record")
@ApiModel(value = "ExamRecordEntity", description = "")
public class ExamRecordsEntity extends BaseEntity {

    private String id;
    @ApiModelProperty("''考生'")
    private String userId;
    @ApiModelProperty("试卷/考试ID")
    private String examId;
    @ApiModelProperty("试卷名称")
    private String examName;
    @ApiModelProperty("试卷及格分数")
    private String examPassScore;
    @ApiModelProperty("试卷总分")
    private String examTotalScore;

    @ApiModelProperty("''开考时间'")
    private LocalDateTime startedAt;
    @ApiModelProperty("交卷时间")
    private LocalDateTime finishedAt;
    @ApiModelProperty("实际答题时长(秒)")
    private String durationSec;
    @ApiModelProperty("最终得分")
    private String score;
    @ApiModelProperty("试卷满分/冗余，方便计算")
    private String totalScore;
    @ApiModelProperty("是否通过（0/1）")
    private String passed;
    private String delFlag;
}
